package cn.zyn.educenter;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
/**
 * @author ：zyn
 * @date ：Created in 2022/6/7 20:10
 * @description：
 * @modified By：
 * @version: $
 */
@SpringBootApplication
@ComponentScan(basePackages = {"cn.zyn"})
@MapperScan("cn.zyn.educenter.mapper")
@EnableDiscoveryClient//nacos注册
public class UcenterApplication {

    public static void main(String[] args) {
        SpringApplication.run(UcenterApplication.class, args);
    }
}